Bug 995291 -[CostControl] Add unit test

`3` is already a integer. I don't understand this `parseInt()`.