Fix a few tests that used incorrect array numbers.
Swap the order of parameters in test_gl and test_gl_10_11.

Because assert_equal's argument order is assert(expected, got),
that way we get correct messages on test failure.