public MawoConfiguration() {
    this(readConfigFile());
  }
@Test
  void testMaWoConfiguration() {

    MawoConfiguration mawoConf = new MawoConfiguration();

    // validate Rpc server port
    assertEquals(5120, mawoConf.getRpcServerPort());

    // validate Rpc hostname
    assertEquals("localhost", mawoConf.getRpcHostName());

    // validate job queue storage conf
    boolean jobQueueStorage = mawoConf.getJobQueueStorageEnabled();
    assertTrue(jobQueueStorage);

    // validate default teardownWorkerValidity Interval
    assertEquals(120000, mawoConf.getTeardownWorkerValidityInterval());

    // validate Zk related configs
    assertEquals("/tmp/mawoRoot", mawoConf.getZKParentPath());
    assertEquals("localhost:2181", mawoConf.getZKAddress());
    assertEquals(1000, mawoConf.getZKRetryIntervalMS());
    assertEquals(10000, mawoConf.getZKSessionTimeoutMS());
    assertEquals(1000, mawoConf.getZKRetriesNum());
  }