This clearly does not make sense. After the root directory is included, the test subdirectory is included in everything else. Maybe you need to tell us what this dirset will consume and what do you expect from it? Process "test" twice?
Based on your comment, you need to add root, and then add the 'exclude' elements for everything in the root except the test.
Or make two dircets: one with a root, excluding all children, and the other only with a dough.
source share