added a Test for sum-out function