Added tests for FileIO helper methods.
Reformatted IO tests slightly.