Driver tests moved upstream

This takes some tests written in the driver testsuites and move them in the common suite to share them.

The only one which could cause an issue in some drivers is the test about the event being triggered in JS (issue178) but the event tests are already failing anyway, so it just adds 1 more test to check when fixing the event handling.