test list of files works