bugfix event-dom test to work with npm test