testing ping response functionality