Added multithreading testcase