Now that I'm looking at this closely, I see it's better to only do the mcxdelete if there is content to delete. Only do the mcxdelete if has_mcx? returns true
Tweak tests to reflect this.