Properly close <elementD/> tags on test document
Don't attempt to change CData namespaces under JRuby
Properly namespace generated term_value templates