   (deftest test-request-access-to-data
     (testing "Build auth url and fetch code."
     (reset-channels)
-    (a/go (a/>!! code-chan (:code final-state-map)))
+    (a/go (a/>! code-chan (:code final-state-map)))
         (with-redefs [clj-http.client/get (constantly (:token-response final-state-map))]
        (is (= final-state-map) (update-in  (request-access-to-data (dissoc final-state-map :code)) [:token-response :request-time] (fn [x] 0)))))) 
 

  (testing "Pull response from http-requests for authorization and deliver to browser.
           In the first test we have something on the channel, in the second one the channel is empty."
    (reset-channels)
    (a/go (a/>!! interaction-chan (:token-response final-state-map)))
    (Thread/sleep 1000)
    (is (= (:token-response final-state-map) (user-interaction {:status 200}))) 
    (is (= "No user interaction nescessary." (user-interaction {:status 200})))))

  (drain! code-chan)
  (drain! interaction-chan))

(defn reset
  "Reset the state of our app."
  [f]
