Allow overwriting the testing ReadBuffer.