refactored escape character unit tests to include proper assertions for UTF16 values. Also added checks for validity of TextNode where it is needed
moved enum to test fixture and added some more TextNode checks.
nbsp lower case in enum
Merge pull request #94 from ShayanZafar/utf8-unit-tests

refactored escape character unit tests