Deduplicate parsing/unparsing tests of the new SWHID classes
They were all very similar and only differ in what 'edge' cases they accept