Adding some unit-testing asserts to the SUM function.