Testing for the Pyglet GUI code