added unit test for translateMonitorResource