Test cases and bugfixing in svg to prism converter.