         true))
 
     (testing "invalid-database-configuration exception thrown"
-      (let [ex (deref start-ex 0 nil)
+      (let [ex (deref start-ex)
             {:keys [kind failed-validation]} (when (instance? ExceptionInfo ex)
                                                (ex-data ex))]
         (is (= ExceptionInfo (class ex)))

  (let [bad-setting :standard_conforming_strings
        bad-value "off"
        service (atom nil)
        start-ex (promise)
        orig-req svcs/request-database-settings
        request-settings #(for [{n :name :as settings} (orig-req)]
                            (if (= n (name bad-setting))

        true))

    (testing "unsupported db triggers unsupported-database exception"
      (let [ex (deref start-ex)
            expected-oldest scf-store/oldest-supported-db
            {:keys [kind current oldest]} (when (instance? ExceptionInfo ex)
                                            (ex-data ex))]
