ping test, incomplete implementation