add code for test_thread