Add a test for the textContent setter.
Address review comments about textContent.
Merge pull request #321 from Ms2ger/textcontent-setter

Add a test for the textContent setter.