added tests for X11 and OpenGL