refactoring ManageMapTest