add groups_controller test coverage