Made changes to test for continuous ping- James