rearange tests and harden InetAddress test