Add OffsetIndexTest.