            all-prov1-colls "pRoV1" {:ignore-case true}
            [] "prov1" {:ignore-case false}))
 
-    (testing "provider with JSON parameters"
+    (testing "Provider search using JSON query"
       (are [items json-search]
            (d/refs-match? items (search/find-refs-with-json-query :collection {} json-search))
 

           [c1-p1 c1-p2] "S1_v1" {:ignore-case true}
           [] "S1_v1" {:ignore-case false}))

    (testing "Entry id search using JSON"
      (are [items json-search]
           (d/refs-match? items (search/find-refs-with-json-query :collection {} json-search))


                                           {:entry-id "S2_V2"}]}
           [] {:and [{:entry-id "S1_V1"}
                     {:entry-id "S2_V2"}]}

           ;; Not with multiple entry-ids
           [c3-p1 c3-p2 c4-p1 c4-p2] {:not {:or [{:entry-id "S2_V2"}
                                                 {:entry-id "S1_V1"}]}}

           ;; Not with multiple entry-ids and provider
           [c3-p1 c4-p1] {:not {:or [{:entry-id "S2_V2"}
                                     {:entry-id "S1_V1"}
                                     {:provider "PROV2"}]}}

           ))
           ;; TODO
           ;; Wildcards
