add TestOnBorrow function to test connections after they are pulled from the pool.