cpp: xerces: Add createEmptyDocument helper
cpp: xerces: Update tests