Add more test cases for SUM