Merge #10264: [test] Add tests for getconnectioncount, getnettotals and ping