add test case
refactor accumulator id to an atomic long
reduplicate accumulator operation for resubmitted tasks
prevent recalculating accumulator when the stage is resubmitted
adjust test cases order
fix Accumulator comment