eState;
        nativePushState = window.history.pushState;
        window.history.replaceState = function() {
          replaceStateCalls++;
        };
        window.history.pushState = function() {
          pushStateCalls++;
        };
      });
      teardown(function() {
        window.history.replaceState = nativeReplaceState;
        window.history.pushState = nativePushState;
      });
      test('when a change happens immediately after ' +
           'the iron-location is attached', function() {
 