Adapt test case to trigger a bug reported by Oliver Kaiser, and
fix the bug.

--HG--
branch : HEAD
diff --git a/regress/add_from_file_twice_duplicate.test b/regress/add_from_file_twice_duplicate.test
index 94528cb..287624c 100644
--- a/regress/add_from_file_twice_duplicate.test
+++ b/regress/add_from_file_twice_duplicate.test
@@ -3,4 +3,5 @@
 return 1
 args testfile.zip testfile.txt testfile.txt
 file testfile.txt testfile.txt testfile.txt
+file-new testfile.zip testfile.zip
 stderr can't add file `testfile.txt': File already exists