Could you actually add these tests to `io::net::addrinfo` instead? That way you can use the `iotest!` macro and seamlessly test on libnative and libgreen.