@Test
public void testMaWoConfiguration() {

  MawoConfiguration mawoConf = new MawoConfiguration();
  // validate Rpc server port
  Assert.assertEquals(mawoConf.getRpcServerPort(), 5120);
  // validate Rpc hostname
  Assert.assertTrue("localhost".equals(mawoConf.getRpcHostName()));
  // validate job queue storage conf
  boolean jobQueueStorage = mawoConf.getJobQueueStorageEnabled();
  Assert.assertTrue(jobQueueStorage);
  // validate default teardownWorkerValidity Interval
  Assert.assertEquals(mawoConf.getTeardownWorkerValidityInterval(), 120000);
  // validate Zk related configs
  Assert.assertTrue("/tmp/mawoRoot".equals(mawoConf.getZKParentPath()));
  Assert.assertTrue("localhost:2181".equals(mawoConf.getZKAddress()));
  Assert.assertEquals(1000, mawoConf.getZKRetryIntervalMS());
  Assert.assertEquals(10000, mawoConf.getZKSessionTimeoutMS());
  Assert.assertEquals(1000, mawoConf.getZKRetriesNum());
}