Fixed some bugs in the test suite
Added DynamoDBLocal for testing