Add more tests for delegates and events

Signed-off-by: Igor Popov <igor@igorpopov.io>