multithreaded test version