Call the decorated function before the event handlers

- allows to prepare a expectable state for all handlers
- enforces a common calling signature for the event
Execute doctests if run from the command line