Fix TestAccumulator and Accumulator constructors.