Introduced resettable events to make testing easier;

Introduced unique handlers(batched handlers are unique by default);