added test for an invalid YAML file