completes.then(function() {
            expect(ajax.lastResponse.headers['Content-Type']).to.match(
                /^application\/xml(;.*)?$/);
            expect(ajax.lastResponse.data).to.match(
                /<foo\s*><bar\s+name="baz"\s*\/><\/foo\s*>/);
          });
        });
      });

      suite('when setting timeout', function() {
        setup(function() {
          server.restore();
        });

        test('it is present in the request xhr object', function() {
          ajax.url = '/respon