tests: simplify glslValidator test to support different versions