nit: you can use `sinon.assert.calledWithMatch` so that you don't need sinon.match