Added io tests