Add test for localized YAML document.