test uses threads
threadproblem