@Test
public void testAddApplication() throws Exception {

  auxService = createCollectorAndAddApplication();
  // auxService should have a single app
  assertTrue(auxService.hasApplication(appAttemptId.getApplicationId()));
  auxService.close();
}