create test for reverse_delete_rule