Test directory scanning for config files