A difficulty curve. A small speed-up makes the game harder in a way the player feels. A cap keeps it fair.
Tunnelling. A fast ball can jump over a thin object between two frames. We tested that the maximum speed is smaller than the smallest thing it must hit.
Testing without a window. Because the rules are pure Python, a whole game runs in a fraction of a second in a test. The window itself is checked by taking screenshots in a Docker container.
A scripted player. A paddle that always catches the ball in the centre makes the ball fly straight up and down forever. The test varies where the ball is caught, which is also how a real player aims.