                              (:native-id concept) concept-id)]))))
 
   (testing "Deleting non-existent collection should be rejected"
-    (let [concept (dc/collection-concept {})
+    (let [concept (data-umm-c/collection-concept {:EntryTitle "E5" :ShortName "S5"})
           response (ingest/delete-concept concept {:revision-id 2})
           {:keys [status errors]} response]
       (is (= status 404))

             response))))
 
  (testing "attempting to ingest using an non-integer revision id returns an error"
    (let [response (ingest/ingest-concept (dc/collection-concept {:concept-id "C2-PROV1"
                                                                  :revision-id "NaN"}))]
      (is (= {:status 422
              :errors [(msg/invalid-revision-id "NaN")]}
             response))))
  
  (testing "attempting to ingest using a negative revision id returns an error"
    (let [response (ingest/ingest-concept (dc/collection-concept {:concept-id "C2-PROV1"
                                                                  :revision-id "-1"}))]
      (is (= {:status 422
              :errors [(msg/invalid-revision-id "-1")]}
             response))))
  
  (testing "ingesting a concept with just the revision-id succeeds"
    (let [response (ingest/ingest-concept (dc/collection-concept {:revision-id "2"}))]
      (is (and (= 200 (:status response)) (= 2 (:revision-id response))))))
  
  (testing "ingesting a concept while skipping revision-ids succeeds, 
            but fails if revision id is smaller than the maximum revision id"
    (let [concept-id "C3-PROV1"
          coll (dc/collection-concept {:concept-id concept-id})
          _ (ingest/ingest-concept (assoc coll :revision-id "2"))
          response1 (ingest/ingest-concept (assoc coll :revision-id "6"))
          response2 (ingest/ingest-concept (assoc coll :revision-id "4"))]

(deftest revision-id-validations
  (testing "ingesting a concept with the same concept-id and revision-id fails"
    (let [concept-id "C1-PROV1"
          existing-concept (data-umm-c/collection-concept {:EntryTitle "E1" :ShortName "S1" :revision-id 1 :concept-id concept-id})
          _ (ingest/ingest-concept existing-concept)
          response (ingest/ingest-concept existing-concept)]
      (is (= {:status 409
