GenericRelation cascade delete signal trigger test

For #22998