modify thread test