fixed unit test.  changed accumulator to wildcard type