Added Xml and Yaml writer tests.