Add a test case for renaming files.
Make the rename case pick the first matching file.
Since files starting with an underscore get pushed to the end of the list,
a new file is picked at each iteration.