test immediately commit deleted file