adding a test on ping command