added a script to test if a event is subscribed