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

...djf
not really on purpose, I can change this :)