test/io/memory_io: retain stream data before test_reader().¹

1: MemoryStream::clear() resets the size, which we don't want
here. Oops.