Test Crash on close file