refactoring MonitoringMapTest