Moved <symbol>s out of <defs>

Only create <defs> if needed
Update test
Update to version 0.2.1