testing accumulate and put