adding unittests for dns