Run `test_membership_cmd()` without sending the document

To be done after #378.

Run test_membership_cmd() without sending the document by running patched_send_document.assert_awaited_once_with()