Statically allocate NameBuff
Change buffer.h #defines to const ints so they can be used in tests
Add tests for buffer.c and fileio.c
Revert to using #define. Add test constants