Implement tests for ThreadPool and OrderedLogger