add a unit test for pings