More tests fix
Fixed so that nodeHasContent returns correct result for virtual element with newline before content