fix a bunch of tests using InetAddress.getByName