Add other gfx tests

This patch introduces some new tests, fixes the problem that made us introduce the "copy" compositing operation hack, fixes the tests that were previously failing.
Is there a particular reason to make the rect a single pixel shorter and narrower than the graphics object? It causes a black border to appear on the right and bottom sides of the display, which doesn't affect the test fidelity but also seems unrelated to the functionality being tested.