this test is wrong,  this line does nothing, because `spy.calledWith` returns a boolean. You need to assert, prerably using `sinon.assert.calledWith(spy...)` which is more expressive