add test_thread.py, update exercise_functions.py