@Test
public void testCreanupWOHwithoutPreservedFlavor() throws WorkflowOperationException, MediaPackageException {

  Map<String, String> wfInstConfig = new Hashtable<>();
  wfInstConfig.put(CleanupWorkflowOperationHandler.DELETE_EXTERNAL, "true");
  MediaPackageBuilder mpBuilder = MediaPackageBuilderFactory.newInstance().newMediaPackageBuilder();
  MediaPackage mp = mpBuilder.createNew();
  MediaPackageElement track1 = addElementToMediaPackage(mp, MediaPackageElement.Type.Track,
          "presenter", "source", null);
  track1.setURI(UrlSupport.uri(HOSTNAME_NODE1, WFR_URL_PREFIX, WorkingFileRepository.COLLECTION_PATH_PREFIX,
          "asset", mp.getIdentifier().toString(), track1.getIdentifier(), "track.mp4"));
  cleanupWOH.start(createWorkflowInstance(wfInstConfig, mp), null);
  Assert.assertEquals("Media package shouldn't contain any elements", 0, mp.getElements().length);
  Assert.assertEquals("One file wasn't deleted on remote repository", 1, deletedFilesURIs.size());
}