Extend checking for config with no files

This takes the checks that were already being done for configs with no actual files loaded in a couple of places and extends them to almost all the places where it could come into play. Also, this adds some more config tests that exercise various combinations of existent and non-existent config files at the different levels.