Fixed tests for non-gles build.