better hostname test