add options to gerberToSvg and add tests