                              (: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))

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

(deftest revision-conflict-tests
  (testing "Update with lower revision id should be rejected 
            if it comes after an concept with a higher revision id"
    (let [concept (data-umm-c/collection-concept {:EntryTitle "E1" :ShortName "S1" :revision-id 4})
          concept-id (:concept-id (ingest/ingest-concept concept))
          response (ingest/ingest-concept (assoc concept :revision-id 2))]
      (assert-revision-conflict concept-id "Expected revision-id of [5] got [2] for [%s]" response)))

  (testing "Delete with lower revision id than latest concept should be rejected"
    (let [concept (data-umm-c/collection-concept {:EntryTitle "E2" :ShortName "S2" :revision-id 4})
          concept-id (:concept-id (ingest/ingest-concept concept))
          response (ingest/delete-concept concept {:revision-id 2})]
      (assert-revision-conflict concept-id "Expected revision-id of [5] got [2] for [%s]" response)))

  (testing "Ingest with lower revision id than latest tombstone should be rejected"
    (let [concept (data-umm-c/collection-concept {:EntryTitle "E3" :ShortName "S3"})
          concept-id (:concept-id (ingest/ingest-concept concept))
          _ (ingest/delete-concept concept {:revision-id 5})
          response (ingest/ingest-concept (assoc concept :revision-id 3))]
      (assert-revision-conflict concept-id "Expected revision-id of [6] got [3] for [%s]" response)))

  (testing "Delete with lower revision id than latest tombstone results in a 404"
    (let [concept (data-umm-c/collection-concept {:EntryTitle "E4" :ShortName "S4"})
          concept-id (:concept-id (ingest/ingest-concept concept))
          _ (ingest/delete-concept concept {:revision-id 5})
          {:keys [status errors]} (ingest/delete-concept concept {:revision-id 3})]
