file I/O unit tests for ggr.c