fixed unit test for translateMonitorResource