Adding test to ensure nested objects are persisted correctly.
Merge pull request #14 from lukewilde/master

Adding test to ensure nested object properties are persisted correctly.