Modified the bytebuffer test