add tests for config_exists