Minor code improvements Added even more tests
Minor code improvements
Added even more tests

Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/576>

GNOME/librsvg,GNOME/librsvg,GNOME/librsvg,GNOME/librsvg