Test delete logic

hardcoded rules for now.