@Test
public void testApplication() throws Exception
{

  LocalMode lma = LocalMode.newInstance();
  new Application().populateDAG(lma.getDAG(), new Configuration(false));
  LocalMode.Controller lc = lma.getController();
  lc.run(10000);
}