added a (passing) test for ensuring the resolver gets shut down properly when it fails to resolve a domain.
typo fixes in the tests for udp cosockets.