Test automatic selection of config file