Ensure objects are created twice in drupal and that files are deleted