renamed test from test_thread_factorial