Added update tests
Fixed update related bug in in-memory storage
Merge pull request #5 from timmattison/add-update-tests

Add update tests