Test request can be flagged as XHR request.