Added tests when onBeforeDelete returns false
If a subnode returns false, continue deleting the siblings, but don't delete the parent
gh-388