Add test for Sum