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

@aktau I like the way I have it since the function asks for a list of `char_u*` which is what I'm making. I will switch it to your way if you want. I'm not hard up on it. Either way it would probably be good to add in a comment about why it is needed.