Implement methods in TestThreads.