added tests for intrusive hooks not derived from the default hooks
log destructor as well
Fixed #9961: tests for hooks not derived frorm generic_hook
Merge branch 'mateidavid-test-nonhook-nodes' into develop