dnsbl: test coverage

this PR changes no features of functions. It does only:

1. consolidate duplicated code into should_skip()
2. adds test coverage for dnsbl.js and dns_list_base.js