Bugfix: Events of the same class and different instances were shared. This is fixed!

...and a test to verify this situation has been added.