Testing sum vs accumulator