add thread concurrency related test source code