working ping pong test