support svg rendering
add tests
fix to lint
compile!