adding tests for window fold
additional comments on SlidingWindowsIterator