eventMappable: Added tests for trait eventMappable.js