           {:keys [concept-id revision-id]} (util/ingest-granule granule)]
       (is (util/concept-exists-in-mdb? concept-id revision-id))
       (is (= supplied-concept-id concept-id))
-      (is (= revision-id 0)))))
+      (is (= 0 revision-id)))))
 
-;; Ingest same granule N times and verify same concept-id is returned and
-;; revision id is 1 greater on each subsequent ingest
+;;; Ingest same granule N times and verify same concept-id is returned and
+;;; revision id is 1 greater on each subsequent ingest
 (deftest repeat-same-granule-ingest-test
   (testing "ingest same granule n times ..."
     (let [collection (util/collection-concept "PROV1" 5)

            [clojure.string :as string]
            [cmr.system-int-test.utils.ingest-util :as util]))

;;; tests
;;; ensure metadata, indexer and ingest apps are accessable on ports 3001, 3004 and 3002 resp;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; Verify a new granule is ingested successfully.
(deftest granule-ingest-test
  (testing "ingest of a new granule"
    (let [collection (util/collection-concept "PROV1" 5)

          granule (util/granule-concept "PROV1" "C1000000000-PROV1" 5)
          {:keys [concept-id revision-id]} (util/ingest-granule granule)]
      (is (util/concept-exists-in-mdb? concept-id revision-id))
      (is (= 0 revision-id)))))

; Verify a new granule with concept-id is ingested successfully.
(deftest granule-w-concept-id-ingest-test
