Issue #1615 modify TextureCacheTest.js for WebGL