Check that threads started in multithreading tests