@Test
public void testRegion() throws Exception {

    Formatter formatter;
    String resultString;
    String expected;
    Load load = new Load(new LevelClass(RegionName.class));
    load.updateChangeMap();
    Assert.assertFalse(load.isDiffFromStart());
    formatter = new Formatter("testTable", load);
    Assert.assertFalse(load.isShowRate());
    load.toggleShowRate();
    Assert.assertTrue(load.isShowRate());
    resultString = formatter.buildString(false, Formatter.Type.ANSI);
    System.out.println(resultString);
    expected = "Region (RS Index)  Reads      Writes     Regions    Files      FileSize   FileSizeUncomp  MemstoreSize  CompactedKVs  \n" +
            " Total: 0          N/A | N/A  N/A | N/A  N/A | N/A  N/A | N/A  N/A | N/A  N/A | N/A       N/A | N/A     N/A | N/A     \n";
    Assert.assertEquals(expected, Color.clearColor(resultString, Formatter.Type.ANSI));
}