test code for possible pyglet.media layer replacement