improved accumulator test
minor improvements