Fix config test (hostname check)