Fixes test cases.

In preparation of the streams/compression overhaul in needle.send_request, I figured it would be a good idea to get the test cases working.