unit tests for svglist.c