Added more assert tests.
Merge remote-tracking branch 'origin/master'
Fix for xml logger writing out header and correct CData