Changed to use the accumulator and added tests for all 3 different types
of accumulators.