added failing test for mapping to a Uri
when a Uri is expected, validate it and populate it
refactor tests for some readability
Merge pull request #41 from shiftkey/testing-uri-parsing

Bugfix - Uris are being deserialized like strings