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

And by including I mean in the `gcc -I <header directory>` sense