create tests for svg_to_image

Also unused `e`