   (js/parse-umm-c {:ShortName "foo" :Version "bar"}))
 
 (deftest minimal-dif10
-  (is (empty? (generate-and-validate-xml :dif10 minimal-umm-c))))
+  (is (empty? (generate-and-validate-xml :collection :dif10 minimal-umm-c))))
 
 (comment
 

          dest-format collection-destination-formats
          :when (not= origin-format dest-format)]
    (testing (str origin-format " to " dest-format)
      (is (empty? (generate-and-validate-xml umm-c-record dest-format :collection))))))

(deftest roundtrip-example-record
  (doseq [metadata-format tested-formats]

(defn- generate-and-validate-xml
  "Returns a vector of errors (empty if none) from attempting to convert the given UMM record
  to valid XML in the given format."
  [concept-type metadata-format record]
  (let [metadata-xml (core/generate-metadata concept-type metadata-format record)]
    (core/validate-xml concept-type metadata-format metadata-xml)))

