Remove 1.8.7 tests to only support 1.9.2 and above.
Refactor to add support for empty components, elements and string escape chars.