Migrated event tests.
Added tests for EventHandlerScanner.