Added tests for svg_to_image
Make sure to remove all temp files in svg_to_image on errors
Added checking for error arguments
Some minor fixes mentioned in the PR
Merge pull request #13 from rudigiesler/feature/issue-13-create-tests-for-svg_to_image

create tests for svg_to_image