Test segments to SVG