tests: add test for connection.ping failure in pool

closes #834