             (is (thrown? clojure.lang.ExceptionInfo (handler forbidden)))))
 
         (testing "async with keyword as allowed method"
-          (let [handler (method-handler :get)]
+          (let [handler (async-method-handler :get)]
             (let [rsp (promise)
                   ex  (promise)]
               (handler allowed rsp ex)

            (is (thrown? clojure.lang.ExceptionInfo (handler forbidden)))))

        (testing "async with set of keywords as allowed method"
          (let [handler (method-handler #{:get})]
            (let [rsp (promise)
                  ex  (promise)]
              (handler allowed rsp ex)

      (is (thrown? clojure.lang.ExceptionInfo (handler {:foo "bar"})))))

  (testing "restrict async handler with failure 1"
    (let [handler (restrict async-test-handler {:handler {:or [fail fail]}})
          req     {:foo "bar"}
          rsp     (promise)
          ex      (promise)]
