Test for after_destroy hooks