m[0].type, 'down');
    ev = new CustomEvent('mouseup', {bubbles: true, composed: true});
    el.dispatchEvent(ev);
    assert.equal(el.stream.length, 2);
    assert.equal(el.stream[1].type, 'up');
  });

  test('remove listeners with removeListener', function() {
    gestures.remove(el, 'down', fn);
    removeListener(el, 'up', fn);
    var ev = new CustomEvent('mousedown', {bubbles: true, composed: true});
    el.dispatchEvent(ev);
    ev = new CustomEvent('mouseup', {bubbles: true, composed: true});
    