io test code