Fixed test cases for InMemoryStoreTest.java