test set_buffer_size added