Add test coverage for sum and product