Reformat test to be more idiomatic

Should not usually have to def anything inside a test, and
clojure.test/are gives us the same parameterized test behavior.
Use streams instead of string concatenation

This should allow seamless use of the middleware even for large
response bodies.