Test class for Calc