        :request [(includes-hdrs {"connection" "close"}) nil])))
 
 (defcoretest aborting-a-request
-  [ch]
-  (fn [resp request]
-    (enqueue ch [:request request])
-    (fn [evt val]
-      (enqueue ch [evt val])
-      (when (= :done evt)
-        (resp [200 {"connection" "close"} "Hello"]))))
+  (tracking-middleware hello-world-app)
 
   (http-write "POST / HTTP/1.1\r\n"
               "Content-Length: 10000\r\n\r\n"

  (is (= 0 (count (netty-exception-events)))))

(defcoretest upstream-raising-error-during-chunked-request
  [ch]
  (fn [upstream request]
    (throw (Exception. "TROLL APP IS TROLLIN'")))


       :done nil)))

(defcoretest handling-100-continue-requests-by-responding-directly
  (deftrackedapp [upstream request]
    (upstream :response [417 {"content-length" "0"}])
    (fn [_ _]))

  (http-write "POST / HTTP/1.1\r\n"
              "Content-Length: 5\r\n"
