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

...djf
I find it cleaner to call reset at each teardown too.