Changed XHR assertions to mock out Batman.Request.