fix for some of CostCalculatorTest methods