Complete ut of validate_host with an allowed_host