Bug 995291 -[CostControl] Add unit test
Merge pull request #20894 from gitmai/bug-995291-add-unit-test

Bug 995291 -[CostControl] Add unit test
r=salva