Adds tests and README updates to the CDATA pull request

Updating #11 with the tests and README updates requested. Let me know if there's anything else needed!