Added test and fixed project_config method