Fix new buffer from buffer test for Object implementation