to test this without touching the internals you probably want something like:
```
        mockCall.group = this.sinon.stub();
        mockCall.ongroupchange(mockCall);
        mockCall.group = null;
        mockCall.ongroupchange(mockCall);

```