private void createStoreFile(final HRegion region, String family) throws IOException {
    Table loader = new RegionAsTable(region);
    HTestConst.addContent(loader, family);
    region.flush(true);
  }
Run compaction and flushing memstore Assert deletes get cleaned up.
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMajorCompaction.java