I think a better way to test that would be:

    expect(hangupMsg.peer).to.equal("Mark");
    expect(hangupMsg).to.be.a(payloads.Hangup);

 Here we don't want to test the whole payload, just verify that it is a `Hangup` and that it is addressed to "Mark". What do you think ?