fix resolveHostNameTest