Adding tests for the buffer option.