eventMappable: Fix syntax errors and updated tests