test for edit by hostname