Enhance ContextPool unit tests