Test for an XHR request, not for a javascript format