Updated material test, added additonal gl error tests