@After
 public void tearDown() {
   pse.tearDown();
   pss.tearDown();
   mtf.tearDown();
   JMSConnectionFactory.getInstance().removeListener(Channels.getTheIndexServer(), listener);
   mjms.tearDown();
   rs.tearDown();
 }
  /** Test that download of a small file succeeds. */
  @Test
  public void testMain() {
    String[] args = new String[] {"-tDEDUP", "-l1"};

    TestInfo.CACHE_TEMP_DIR.mkdirs(); // FIXME: Should not be missing.
    ZipUtils.gzipFiles(TestInfo.CACHE_TEMP_DIR, TestInfo.CACHE_OUTPUT_DIR);

    pss.tearDown();
    CreateIndex.main(args);
  }
 @After
 public void tearDown() {
   marc.tearDown();
   pse.tearDown();
   pss.tearDown();
   mtf.tearDown();
   mjms.tearDown();
   ulrf.tearDown();
   RememberNotifications.resetSingleton();
   rs.tearDown();
 }