removed unreachable conditional branch, achieved 100% coverage of dnstest.py