Support classes for TestMonitor