Fixed a bug in the test script.
Don't choke resolving localhost (and other names..

from /etc/hosts).