Corrected test cases for uniform collection.

A call was being made to OpenGL when it should not have been. Also,
uniforms are not sorted upon entry into a collection; they are instead
ordered by the index they are assigned by OpenGL.