Fix groups helper tests.