Bug 995291 -[CostControl] Add unit test