Added io tests.