accum tests
Working impl of accum