Add test for the 'wildcards in presence of folders' feature.