Add test to list when file is created