Add a test for events being sent to destroyed nodes.