added tests for frameMonitor.