Adding multithreaded test