test case for hostname verifier