Add unit-tests for events + WeakRef