test: add `dnsDomainIs()` tests
test: add `dnsDomainLevels()` tests
dnsDomainLevels: fix typo

Fixes the test cases.