added test for YAML serialization to UTF-8