(test_thread): Make static.