Added test cases to test serially when accumulate is false and true