Fix issue with SVG tests.

Should really look closer at what's going on there.
Fix an issue with PathFitter where path with only one segment would throw an error.

Closes #175.