(It's possible to have issues with "localhost", for example when there's something in a $LOCALDOMAIN environment variable, which made this test fail on certain machines.)