Add tests for 'exclude' and 'excludeSubTree' config options.