Update svgToPdf.js

Fixing a "should the default value be used" test which didn't check for the existence of the correct property.