Refactoring group procedure.
Test group membership request.