Added more nodeHasContent Tests to fill in more gaps in logic