Fix all test and modify GroupsController