Expanding the tests to better cover decoding from memory buffer.