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

...djf
Wow! What an error here. It should be very old tests. Nice catch and nicer solution. Thanks!