minor changes in calculation_test