Refactor and defer listen/unlisten multicast group test