Use fqdn instead of hostname in tests