Test hostname.