fixed StatCalculatorTest