This test is quite long, hard to read and it check 2 different things which is not reflected in the test name:
* check_files without ignored list
* check_files with ignored list.