private void clearAndAdd() {
    list.clear();
    insert(7);
  }
This tests concurrent modification of IndexElemArray and to make sure elementData and size are
updated atomically. Ticket# GEODE-106.
geode-core/src/test/java/org/apache/geode/cache/query/internal/index/IndexElemArrayJUnitTest.java