add test thread class