@Test
public void testMC_CF() throws Exception {

    // add CF
    HColumnDescriptor cd = new HColumnDescriptor(TEST_TABLE_CF2.getBytes());
    admin.addColumn(tableName, cd);
    // move a region to the first RS
    ArrayList<ServerName> serverNameList = getServerNameList();
    assertTrue(serverNameList.size() >= 2);
    ArrayList<HRegionInfo> regionInfoList = getRegionInfoList(tableName);
    assertEquals(1, regionInfoList.size());
    HRegionInfo regionInfo = regionInfoList.get(0);
    ServerName serverName = serverNameList.get(0);
    move(regionInfo, serverName);
    // make 2 + 2 store files
    putData2(table, "a".getBytes());
    admin.flush(tableName);
    putData2(table, "b".getBytes());
    admin.flush(tableName);
    Thread.sleep(3000);
    assertEquals(2 + 2, getRegionLoad(regionInfo, serverName).getStorefiles());
    // run MC
    String[] argsParam = {"zookeeper", tableName, "--cf=d", "--force-proceed", "--wait", "--test"};
    Args args = new ManagerArgs(argsParam);
    MC command = new MC(admin, args);
    command.run();
    assertRegionName(command);
    // should be 2 + 1 store files
    assertEquals(2 + 1, getRegionLoad(regionInfo, serverName).getStorefiles());
}