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

...djf
If you're using arrow functions after, why not here as well?