buffer: make linear open buffer test pass