add test_ThreadPool (fails in ~90% of cases for me)

always works with NUM_THREADS 1