Fix existing tests (restore yml parsing in config instead of project)
Add test for config_dir substitution