unit test for MapStoreAdapter