created typeofCalculation tests