                     (format "Token %s"))]
     {:headers {"authorization" header}}))
 
-(deftest jws-backend-test
+(deftest jws-tests
   (testing "Jws token backend authentication"
     (let [request (make-jws-request jws-data jws-secret)
           handler (wrap-authentication identity jws-backend)

      (is (= (:status response) 403))
      (is (= (:body response) "Permission denied"))))

  (testing "Jws token unathorized - :unauthorized-handlercalled when provided"
    (let [request (make-jws-request jws-data "wrong-key")
          onerror (fn [_ _] {:status 3000})
          backend (token/jws-backend {:secret jws-secret

          response (handler request)]
      (is (= (:status response) 403))))

  (testing "Jwe token unathorized with unauth handler called when provided"
    (let [request (make-jwe-request jwe-data (hash/sha256 "wrong-key"))
          onerror (fn [_ _] {:status 3000})
          backend (token/jwe-backend {:secret jwe-secret
