Correct get_buffer test