Added a test for the hydrator
Updated the hydrator to make it conform to the test
Merge pull request #2 from Roave/hydrator-exception-tests

Hydrator exception tests