add preparations for gles2 emulation tests