   {:concept-type :collection
    :native-id "nativeId1"
    :provider-id (str "PROV" provider-suffix-num)
-   :metadata "xml here"
-   :format "iso19115"})
+   :metadata (util/metadata-xml base-concept-attribs)
+   :format "iso19115+xml"})
 
 (defn construct-ingest-rest-url
   "Construct ingest url based on concept."

  (:require [clojure.test :refer :all]
            [cmr-system-int-test.ingest-util :as ingest]
            [cmr-system-int-test.index-util :as index]
            [cmr.common.log :as log :refer (debug info warn error)]
            [clj-http.client :as client]
            [cheshire.core :as cheshire]))

(defn concept
  "Creates a sample concept."

        ingest-rest-url (str "http://" host ":" port "/" ctx-part)]
    ingest-rest-url))

;;; operation
(defn ingest-concept
  "Make a concept create / delete request on ingest.  Returns a map with
  status, concept-id, and revision-id"
  [method concept]
  (let [response (client/request
                   {:method (keyword method)
                    :url (construct-ingest-rest-url concept) 
                    :body  (io/string-input-stream (:metadata concept))
                    :body-encoding "UTF-8"
                    :content-type (:format concept)
                    :socket-timeout 2000  ;; in milliseconds
                    :conn-timeout 2000    ;; in milliseconds
                    :accept :json
