fixup! Bug #4755: Unit tests

Note. So far, I was only able to get Firefox to generate fake
mouseup and mousedown events. Ideally, we should test all other
available mouse and touch events.