buffer tests now pass