add thread pool tests