Updated all tests not about thread pools to use NullThreadPool as global/class thread pool.