Add testIsCalcOn method in CalculatorTest class