Add a test for getting textContent.
Merge pull request #315 from Ms2ger/textContent

Add a test for getting textContent.