Use bytesize on test

length actually needs to be the bytesize of the body.

Small fix for it.