 window.addEventListener('response', incrementTotal);
          window.addEventListener('iron-ajax-response', incrementTotal);
          var ajax = fixture('Bubbles')[0];
          ajax.generateRequest();
          server.respond();
        });

        test('the request and error events should bubble to window', function(done) {
          var total = 0;
          function incrementTotal() {
            total++;
            if (total === 5) {
              done();
            }
          }
          window.