 (ns com.frereth.common.aleph-test
-  (:require [clojure.edn :as edn]
+  (: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]))
+            [clojure.core.async :as async]
+            [manifold.deferred :as dfrd]
+            [manifold.stream :as strm]))
 
 (deftest count-messages
   (testing "Count minimalist requests/responses"

          ;; But it was finicky
          (testing "Sending"
            (let [cxns @connections
                  out-fn (@connections "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
  ;; This approach no longer makes any real sense, assuming it ever did
  (testing "Router"
    (let [connections (atom {})
          port 12081
