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

...djf
I assume we are not using an arrow function to explicitly points to the error handler.