The current implementation of the function has a flaw in it in regards to includeDir and exclude.
If you includeDir, then it will include parent directory paths in addition to the files themselves as an independent entry in the final list.
However, if you give a directory path to nf-test, it will automatically look into that directory and check md5sums of all files in the directory.
The problem is that this conflicts with the exclude patterns: while the function generated list will exclude files matching the pattern, the inclusion of the directory path will cause nf-test to pick these supposedly excluded files again (and generated md5sums