Added test for YamlFileLoader