Run ping test on macOS