@Test public void testLoadFirst() throws Exception {

  String filename = getTestFilename("hadoop-metrics2-p1");
  new ConfigBuilder().add("p1.foo", "p1foo").save(filename);
  MetricsConfig mc = MetricsConfig.create("p1");
  MetricsConfig mc2 = MetricsConfig.create("p1", "na1", "na2", filename);
  Configuration expected = new ConfigBuilder().add("foo", "p1foo").config;
  assertEq(expected, mc);
  assertEq(expected, mc2);
}