Test that the 'z' and 'Z' command have the same effect.
Specify four 'path' elements that each use three 'L' commands to draw three sides of a square. The fourth line of each square is drawn via a 'closepath' command. A red square closed via 'z' is covered with a black square closed via 'Z' and vice versa.
Run the test. No interaction required.
The test is passed if two black-stroked, unfilled squares are visible and there is no red visible on the page.