                         :transaktions_status "pending"
                         :abholer "NN"
                         :archivar "NN"
-                        :verzeichnis "dam14"
-                        :flags "x"}
+                        :verzeichnis "dam14"}
                        {:verzeichnis "ds15"
                         :sektion "cdimage"
                         :aktion "save"
                         :transaktions_status "pending"
                         :abholer "NN"
-                        :archivar "NN"
-                        :flags "x"}]))
+                        :archivar "NN"}]))
       (are [file] (fs/exists? file)
            ;; check if the master has been copied
            (fs/file spool-dir dam-number "produkt" "aud001.wav")

                        :transaktions_status "pending"
                        :abholer "NN"
                        :archivar "NN"
                        :verzeichnis "dam14"
                        :flags "x"}
                       {:verzeichnis "ds15"
                        :sektion "cdimage"
                        :aktion "save"
                        :transaktions_status "pending"
                        :abholer "NN"
                        :archivar "NN"
                        :flags "x"}]))
      (are [file] (fs/exists? file)
           ;; check if the master has been copied
           (fs/file spool-dir dam-number "produkt" "aud001.wav")

             :aktion "save",
             :transaktions_status "pending",
             :abholer "NN",
             :archivar "NN"}]))))

(deftest add-iso-to-db
  (testing "add iso to db"
