Some fixes to testEvents.js