@Test
  public void testWithVersionDeletes() throws Exception {

    // first test from memstore (without flushing).
    testWithVersionDeletes(false);

    // run same test against HFiles (by forcing a flush).
    testWithVersionDeletes(true);
  }
Test TimestampsFilter in the presence of version deletes.
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestTimestampsFilter.java