   (println (core/generate-metadata :collection :iso-smap user/failing-value))
 
   (is (= (expected-conversion/convert user/failing-value :iso-smap)
-         (xml-round-trip user/failing-value :iso-smap)))
+         (collection-xml-round-trip user/failing-value :iso-smap)))
 
   ;; random XML gen
   (def metadata-format :dif)

  [:dif :dif10 :echo10 :iso19115 :iso-smap])

;; TODO add formats here as they are implemented.
(def destination-formats
  "Converting to these formats is tested in the roundrobin test."
  [])

(def format-examples
  "Map of format type to example file"
  {:dif "dif.xml"
   :dif10 "dif10.xml"

  (doseq [metadata-format tested-formats]
    (testing (str metadata-format)
      (is (= (expected-conversion/convert expected-conversion/example-record metadata-format)
             (collection-xml-round-trip expected-conversion/example-record metadata-format))))))

(defspec roundtrip-generated-records 100
  (for-all [umm-record (gen/no-shrink umm-gen/umm-c-generator)
            metadata-format (gen/elements tested-formats)]
    (is (= (expected-conversion/convert umm-record metadata-format)
           (collection-xml-round-trip umm-record metadata-format)))))

(defn- parse-iso19115-projects-keywords
  "Returns the parsed projects keywords for the given ISO19115-2 xml"
