Only run the export-to-yaml test if yaml is available