Fix RequestBuffer::buildAndRemoveRequest.
Fix test read response method.