add thread test from TestThread write before