fix and create testcase folder to expose empty list w/ ignore bug

There's a bug when the folder is empty of files, except files that are in the ignore list.

This patch fixes and tests that bug