Add test for deserializing dynamo map