Add quantity/non-error test for calculate