Bug 995291 -[CostControl] Add unit test

Nope. We won't assert on logs.