move threading tests to test_threading