fix tests for SVG-capable broser

[#42387749]