private void checkGet(Region region, byte[] row, byte[] fam, byte[] col, long time,
    byte[]... vals) throws IOException {
    Get g = new Get(row);
    g.addColumn(fam, col);
    g.readAllVersions();
    g.setTimeRange(0L, time);
    Result r = region.get(g);
    checkResult(r, fam, col, vals);

  }
Test keeping deleted rows together with min versions set
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestKeepDeletes.java