Adds the sum and test