Added test for single threaded threadpool.