Fix a sporadically slow test.

If this unit test manages to connect to 10.18.3.171:25
it blocks and waits for a response. Use a test domain
from RFC 2606 instead.
Refactor.
Merge pull request #252 from sahilm/master

Fix a sporadically slow test.