Add test for the crash that can occur when destroying a handler object that owns its own memory (as is the case when destroying handlers in an orphaned strand).