     (try
       (search/find-refs :collection {:page_size -1})
       (catch clojure.lang.ExceptionInfo e
+        (println "OK>..........")
         (let [status (get-in (ex-data e) [:object :status])
               body (get-in (ex-data e) [:object :body])]
           (is (= 400 status))

  (index/refresh-elastic-index))

(use-fixtures :each (ingest/reset-fixture {"provguid1" "PROV1" "provguid2" "PROV2"}))

(deftest search-with-page-size
  (create-collections)

    (index/refresh-elastic-index)
    (testing "Search with page_num."
      (let [{:keys [refs]} (search/find-refs :collection {:provider "PROV1"
                                                          :page_size 5
                                                          :page_num 2})]
        (is (= (map :short-name [col5 col4 col3 col2 col1])
               (map :short-name refs)))))
    (testing "page_num less than one."
