I am new to unit testing and wanted to perform some tests on the below listed functions. Thanks for the help.
Indent the class body.
You need to mark your tests as tests. If you are using  unittest, your class should subclass  unittest.TestCase
It's not officially a unit test if you access databases, but in practice it is fine.
The test doesn't test much. It just inserts objects. That actually has value, but it would be better if you tested a meaningful sequence of behavior. Maybe retrieve the objects and compare input to output.
You call to_db twice. Are you sure the first param ( batch ) as passed into_dynamo_db_in_batchesis really aboto` object?
Performing unit test for dynamo db functions