@Override
  public ServiceHost start() throws Throwable {
    super.start();
    startDefaultCoreServicesSynchronously();

    // Start all the factories
    ServiceHostUtils.startServices(this, FACTORY_SERVICES);

    // Kick start the special services
    startImageCleanerTriggerService();
    startTaskSchedulerServices();

    return this;
  }
 private static void commonHostDocumentsCleanup() throws Throwable {
   if (host != null) {
     ServiceHostUtils.deleteAllDocuments(host, "test-host");
   }
 }