Fixed Enumerate's Accumulator implementation and added test coverage