@Test
  public void testMinVersionsWithKeepDeletedCellsTTL() throws Exception {
    int ttl = 4;
    ColumnFamilyDescriptor cfd =
      ColumnFamilyDescriptorBuilder.newBuilder(c0).setVersionsWithTimeToLive(ttl, 2).build();
    verifyVersionedCellKeyValues(ttl, cfd);

    cfd = ColumnFamilyDescriptorBuilder.newBuilder(c0).setMinVersions(2)
      .setMaxVersions(Integer.MAX_VALUE).setTimeToLive(ttl)
      .setKeepDeletedCells(KeepDeletedCells.TTL).build();
    verifyVersionedCellKeyValues(ttl, cfd);
  }
Verify that basic filters still behave correctly with minimum versions enabled.
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMinVersions.java