Added some test cases for SUM