           ;; But it was finicky
           (testing "Sending"
             (let [cxns @connections
-                  out-fn (@connections "127.0.0.1")]
+                  out-fn (get cxns "127.0.0.1")]
               (assert out-fn (str "Missing localhost client in " cxns))
               (let [msg '{:a 1
                           :b [2 3 4 5]

  (count-messages))

(deftest test-routing
  (testing "Router"
    (let [connections (atom {})
          port 12081

(ns com.frereth.common.aleph-test
  (:require [aleph.udp :as udp]
            [byte-streams :as b-s]
            [clojure.edn :as edn]
            [clojure.test :refer (deftest is testing)]
            [com.frereth.common.aleph :as aleph]
            [clojure.core.async :as async]
            [manifold.deferred :as dfrd]
            [manifold.stream :as strm]))

(deftest count-messages
  (testing "Count minimalist requests/responses"
