In the tests get <text:p> elements with getElementsByTagNameNS, not getElementsByTagName

Seems Firefox just ignores namespaced elements in getElementsByTagName
Merge pull request #222 from kossebau/makeTestsFirefoxCompatible

In the tests get <text:p> elements with getElementsByTagNameNS, not getElementsByTagName