[static/tests] Adds a Yaml exporter test in C
[tests/Yaml] Updates exporter, fixes memory leaks, only one document