Fixed IO tests.