added tests for gapbuffer iterator