Adds breaking test that verifies a texture unit is enabled immediately after enabling it

Added a breaking test which tests whether or not immediately
after calling `glEnable(GL_TEXTURE_2D)` that
`glGetBooleanv(GL_TEXTURE_2D)` will return true.
This test works under OpenGL on Mac OS X.