Add test for ActorThreadPool.