unit tests for svgpreview.c
fixed bug in geometry-string parsing