File IO tests.