unit tests for svgread.c
setting of errno in svgread to avoid spurious failures