test the appearance of file2 after gitignoring