added test for no param on sum.