added tests for the delete hooks if the trash bin is disabled