fixed tests for PingClient