Fix test_gethostbyname_localhost_fqdn test