[WIP/RFC] Add unit tests for buffer.c and fileio.c

I think the current text is better because it explains the context of what is happening rather than just echoing what the assert in the test is showing already.