Simplifies ThreadSafetyTestCase.