More tests. Bug in ThreadPool class