PagedBytesReference with a boatload of tests. Passes all new and
existing tests.