Fix y-coord bug in SVG generation code, expanded test-svg prog