hostname related tests