efined;
            expect(ajax.lastProgress).to.be.equal(ajax.lastRequest.progress);
            lastProgressUpdated = true;
          };

          ajax.lastRequest.completes.then(function() {
            // should have something from last request
            expect(ajax.lastProgress).to.be.ok;
            ajax.removeEventListener('last-progress-changed',
                onLastProgressChanged);
            ajax.generateRequest();

            // should reset
            expect(ajax.lastProgress).to.be.eql