base test page for events.js