Fixed dns_spoof test

From https://trac.torproject.org/projects/tor/ticket/12486