Remove textContent tests; they break in phantomjs