e});
    ev.clientX = 1e8;
    ev.clientY = 1e8;
    app.dispatchEvent(ev);
    app.click();
    assert.equal(app._testLocalTarget, app, 'app local target');
    assert.equal(app._testRootTarget, app, 'app root target');
  });
});

suite('Event Setup and Teardown', function() {
  var outer, inner;
  suiteSetup(function(done) {
    outer = document.createElement('x-setup');
    document.body.appendChild(outer);
    afterNextRender(null, function() {
      inner = outer.$.inner;
      done();
    });
  });

 