I know that this is not part of this pull request, but is this Assert correct. It appears to me that if element has no textNode, then call to `.text` on this element will return `u''` and in this context `.not_none` will not raise `AssertionError`.