added basic unit test for memory store