#15: Replace InetAddress.getLocalhost() with InetAddress.getByName(localhost) in tests