tests(config): add tests for excludes option