r evRightUp = new CustomEvent('mouseup', options);

      el.dispatchEvent(evLeftDown);
      el.dispatchEvent(evLeftUp);
      el.dispatchEvent(evRightDown);
      el.dispatchEvent(evRightUp);

      assert.equal(el.stream.length, 2, 'only saw one up and down pair');
      assert.equal(el.stream[0].type, 'down');
      assert.equal(el.stream[1].type, 'up');
      assert.equal(el.stream[0].detail.x, 1, 'only from the left button');
    });

    test('Recover from right click', function() {
      var options