            [] {:entry_title "foo"}
 
            "entry-id matches"
-           [coll] {:entry_id (:EntryId example-record)}
+           [coll] {:entry_id "short_V1_V5"}
            "entry-id not matches"
            [] {:entry_id "foo"}
 

           "platform not matches"
           [] {:platform "foo"}

           ;; instrument - TODO failing test
           ;;[coll] {:instrument (-> example-record :Platforms first :Instruments first :ShortName)}

           ;; sensor - TODO failing test
           ; [coll] {:sensor (-> example-record :Platforms first :Instruments first :Sensors
           ;                     first :ShortName)}

           "project matches"
           [coll] {:project (-> example-record :Projects first :ShortName)}

  [coll gran attribs]
  (ingest-gran coll (merge gran attribs)))

(comment
  ;; for REPL testing purposes
  (cmr.umm.core/parse-concept {:metadata (cmr.umm-spec.core/generate-metadata :collection :echo10 expected-conversion/example-record)
                               :concept-type :collection
                               :format "application/echo10+xml"})
  )

;; Test that the MMT round trip for ingesting works and ingested collections can be found
;; Test Outline
;; - Convert example UMM-JSON record to ISO-19115 using translate API
;; - Ingest ISO-19115
;; - Search for a collection using various fields and verify it is found
(deftest mmt-ingest-round-trip
    (testing "ingest and search UMM JSON metadata"
      (let [example-record expected-conversion/example-record
            umm-json (umm-spec/generate-metadata :collection :umm-json example-record)
            coll (d/ingest-concept-with-metadata {:provider-id "PROV1"
                                                  :concept-type :collection
                                                  :format-key :umm-json
                                                  :metadata umm-json})]
        (index/wait-until-indexed)
        ;; parameter queries
         (are2 [items params]
