Test Character Injection

This also updates some code styles (XML) in files, and fixes indentation of the generated code.
Merge pull request #12 from f2prateek/char-tests

Test Character Injection