re-add customevent test
cleaner undelegate method thanks to Exos