@Test
public void testLegacyPrefix() {

  temporarySystemProperties.set("hdagent.check_interval").to("4h");
  final Configuration subject =
      Configuration.Builder.initializeFromSystemProperties(logger).build();
  assertThat(subject.getCheckIntervalInMillis(), is(TimeUnit.HOURS.toMillis(4)));
}