Merge pull request #14 from lukewilde/master

Adding test to ensure nested object properties are persisted correctly.
Adding tests and logic to ensure the memory-engine always returns a string based ID.