Testing curried sum.