Add test for YAMLPrinter
Merge pull request #226 from gottwald/TestYAMLPrinter

Add test for YAMLPrinter