Updated folder detection tests to include files