Fixed bug with null entity in string marshaller
Added tests for xml request