Some tests for the body buffering protocol.