Fix SvgStyle Relation

I tried increasing code coverage for the least tested things. SvgStyle is the first thing I found.
Turns out what we were doing was quite wrong. This is an attempt at fixing the relation.

It's a work in progress. I'll ping one of you to review when I think I'm done