unit tests for svgwrite.c
unit test tidying for cptwrite.c
svg fixture helper