Minimize test case repetition in group_id mixins