update #3: Fit tests

Delete temporary file when tests are finished.