testing: test host validation