Testing of Multithreading