Export the setTextContent utility

Add a basic spec to make sure setTextContent still works