added switch to turn ping test on, now off by default