Test on temporary file