Threadded-test extracted to a method.