Test for getting the files in a folder.