o.be.equal('?redirectedTo');
        expect(redirector.query).to.be.equal('redirectedTo');
        redirector.query = 'newQuery';
        expect(window.location.search).to.be.equal('?redirectedTo');
        expect(redirector.query).to.be.equal('redirectedTo');
      });
    });
  }

  suite('<iron-location>', function () {
    var initialUrl;
    setup(function() {
      initialUrl = window.location.href;
    });
    teardown(function(){
      window.history.replaceState({}, '', initialUrl);
    });

    //