chor = document.createElement('a');
        var base =
            window.location.protocol + '//' + window.location.host +
            window.location.pathname;
        anchor.href = base + '#/wat';
        document.body.appendChild(anchor);
        anchor.click();
        // In IE10 it appears that the hashchange event is asynchronous.
        return timePasses(10).then(function() {
          expect(urlElem.hash).to.be.equal('/wat');
        });
      });
      test('basic functionality with paths', funct