Edit groups authentication ref #20
Refactor group tests