@VisibleForTesting
  public int getAppsFailedKilled() {
    return numAppsFailedKilled.value();
  }
@Test
  public void testAppsFailedKilled() {

    long totalBadbefore = metrics.getAppsFailedKilled();

    badSubCluster.forceKillApplication();

    Assert.assertEquals(totalBadbefore + 1, metrics.getAppsFailedKilled());
  }