more tests
adding tests, and added better way of sending SERVFAIL from mock dns calls
added tests and made a code fix that the test turned up