tests for issue #8
allow _ in hostnames and FQDNs - fixes #8