     (index/wait-until-indexed))))
 
 (deftest community-usage-relevancy-scoring
-  (dev-sys-util/eval-in-dev-sys (query-to-elastic/set-sort-use-relevancy-score! true))
+  (dev-sys-util/eval-in-dev-sys `(query-to-elastic/set-sort-use-relevancy-score! true))
   (ingest-community-usage-metrics)
   (d/ingest "PROV1" (dc/collection {:short-name "AMSR-L1A"
                                     :entry-title "Relevancy 1"

    (is (= ["Relevancy 2" "Relevancy 3" "Relevancy 1"] (map :name results)))))

(deftest change-metrics
  (dev-sys-util/eval-in-dev-sys (query-to-elastic/set-sort-use-relevancy-score! true))
  (ingest-community-usage-metrics)

  (d/ingest "PROV1" (dc/collection {:short-name "AMSR-L1A"

             (map :name results))))))

(deftest ingest-metrics-after-collections
  (dev-sys-util/eval-in-dev-sys `(query-to-elastic/set-sort-use-relevancy-score! true))
  (d/ingest "PROV1" (dc/collection {:short-name "AMSR-L1A"
                                    :entry-title "Relevancy 1"
                                    :version-id "3"}))
