Add test to matching-directories-by-partial-name block, ensuring files are not caught