Test read record buffer overflow.

Test that reading a record larger than the buffer allocated to store the
record JSON will correctly resize the buffer and reattempt the read.