Fix some tests that didn't mock requests enough

Real requests always have content-length, which
these didn't, so the previous fix where we switch to
always reading a length based on the specified content-length
broke them.