Add test for Hash field containing Money objects
Refactor validation logic