Improvements to SVG testing