Added support for SVG, modified tests to support it

Somewhat rough IMO...put it works well for my needs. Thought I'd try :-)