Wrote some tests for CGLProgram