ssert.isArray(path);
    assert.isFunction(path.indexOf);
    assert(path.indexOf(testElement) > -1);
  });

  rere.addEventListener('test-event', function(e) {
    eventHandled++;
    assert.equal(e.target, rere);
  });

  p.fire('test-event');
  assert.equal(eventHandled, 2);
});

test('event.target', function() {
  var e = document.querySelector('x-outer');
  var b = document.querySelector('x-outer button');
  b.dispatchEvent(new Event('click', {bubbles: true}));
  assert.equal(e.$.inner._eventTarget.loc