Add tests for pool timeouts