add multithread test.