refactoring MonitorMapTest