threadtest modified