Pyglet testing