test file is deleted