calculationAPI mock