added tests for event names. plus an EventHandler class and tests