Fixed some OpenGL problems in tests