Added support for SVG, modified tests to support it

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