threejs test fixes