private void verifyBeforeCompaction(HRegion region, long ts) throws IOException {
    Get get;
    Result result;
    get = new Get(T1);
    get.readAllVersions();
    get.setTimeRange(0, ts);
    result = region.get(get);
    checkResult(result, c0, T4, T3, T2, T1);

    get = new Get(T1);
    get.readAllVersions();
    get.setTimeRange(0, ts - 1);
    result = region.get(get);
    checkResult(result, c0, T3, T2, T1);

    get = new Get(T1);
    get.readAllVersions();
    get.setTimeRange(0, ts - 2);
    result = region.get(get);
    checkResult(result, c0, T2, T1);

    get = new Get(T1);
    get.readAllVersions();
    get.setTimeRange(0, ts - 3);
    result = region.get(get);
    checkResult(result, c0, T1);
  }
Verify that basic filters still behave correctly with minimum versions enabled.
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMinVersions.java