Add multi-threaded test case