Add tests for 'exclude' and 'excludeSubTree' config options. Closes #11.