Fix leave group error

Changed redirect_to
Changed test