add thread id tests