ThreadPoolTest re-factoring