Add more tests for get_dns from receiver.py