Fix tests for when not run with WebGL support