Bug 1075475 - [CostControl] Fix unit tests with a newer mocha r=salva r=...

...djf
note: this line was asserting nothing. "calledWith" returns true or false but then the code was not asserting the result. I changed by using sinon.assert.calledWith which throws if the assertion is false.