Split GenericRelationsTests.test_generic_relations into several tests; refs #18586.

Refactored the first big unit test of GenericRelationsTests test case
into several, more granular unit tests checking just one feature.