Added multi threaded test.