Moved test to io test file