factor repetitions into GroupConfigurationsTest.publish_unit_and_verify_groups_in_LMS()
typo fix