Testing for ping-pong game