                                                 :version-id "V2"}))
         ;; create services
         {serv1-concept-id :concept-id} (service-util/ingest-service-with-attrs
-                                         {:native-id "serv1"
-                                          :Name "service1"})
+                                        {:native-id "serv1"
+                                         :Name "service1"})
         {serv3-concept-id :concept-id} (service-util/ingest-service-with-attrs
-                                         {:native-id "serv3"
-                                          :Name "service3"
-                                          :ServiceOptions {:SupportedReformattings [{:SupportedInputFormat "TIFF"
-                                                                                     :SupportedOutputFormats ["TIFF"]}]}})
+                                        {:native-id "serv3"
+                                         :Name "service3"
+                                         :ServiceOptions {:SupportedReformattings [{:SupportedInputFormat "TIFF"
+                                                                                    :SupportedOutputFormats ["TIFF"]}]}})
         serv4-concept (service-util/make-service-concept
-                        {:native-id "serv4"
-                         :Name "Service4"
-                         :ServiceOptions {:SupportedReformattings [{:SupportedInputFormat "TIFF"
-                                                                    :SupportedOutputFormats ["PNG"]}]}})
+                       {:native-id "serv4"
+                        :Name "Service4"
+                        :ServiceOptions {:SupportedReformattings [{:SupportedInputFormat "TIFF"
+                                                                   :SupportedOutputFormats ["PNG"]}]}})
         {serv4-concept-id :concept-id} (service-util/ingest-service serv4-concept)]
     ;; index the collections so that they can be found during service association
     (index/wait-until-indexed)


      ;; after service association is made, has-transforms is true
      (service-util/assert-collection-search-result
        coll4
        {:has-transforms true
         :service-features {:esi {:has-transforms true}}}
        [serv9-concept-id]))

    (testing "Non-spatial SubsetType does not affect has-spatial-subsetting, also testing Harmony service features"
      ;; sanity check before the association is made
      (service-util/assert-collection-search-result
        coll5 {:has-variables false :has-spatial-subsetting false :has-transforms false} [])

      ;; associate coll5 with a service that has SubsetTypes of Variable
      (au/associate-by-concept-ids token serv10-concept-id [{:concept-id (:concept-id coll5)}])

    ;; verify collection associated with services with one supported output formats that does not
    ;; match its input formats, has-formats true
    (service-util/assert-collection-search-result
     coll1
     {:has-formats true :service-features {:opendap {:has-formats true}}}
     [serv1-concept-id serv3-concept-id serv4-concept-id])
    (service-util/assert-collection-search-result
     coll2
     {:has-formats true :service-features {:opendap {:has-formats true}}}
     [serv1-concept-id serv3-concept-id serv4-concept-id])

    (testing "delete service affect collection search has-formats field"
      ;; Delete service4
