Adds test for DNS resolver failure.