Support location config in yaml
Add LocationsYamlTest