Add: Acceptance test for automatic canonification of classes

When classes are automatically classified errors should not be generated.

Ref: https://dev.cfengine.com/issues/6566
Not exactly a brief description.
`@brief Check against spurious error messages when auto-canonifying classes.`
would, at least, fit inside 80 columns.