Add hostname tests