Tests do have a lot of common code. And each of them might do things slightly different.
So lets put all the setup, graphics, writing, reading pixels, etc. code into a common library.
This makes the tests more easy to write, and all of them will use the same base.