Update test_thread.c