@AfterMethod(alwaysRun = true)
 public void tearDown() throws Exception {
   if (server != null) server.shutdown();
   if (app != null) Entities.destroyAll(app.getManagementContext());
 }