Test buffering features when writing to an output
Fix some buffering bugs
Test harness that creates writer and output for us
Slightly more strenuous test
Run against both an output, and internal string
Fix number of buffers when internal