might be easier with something like

    assert sorted(sec_grps) == ['gonzo', 'test']