Looking back at this to correct the typo @mtbc commented on above, this last assertion is redundant. That the groups match is implicit in the previous assertions.