test behaviour of sc.accumulator