modified tests according to interface changes in ThreadPool and related classes