Added test for the currently broken addremove with the expected output.
new file mode 100755
--- /dev/null
+++ b/tests/test-addremove
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+hg init rep
+cd rep
+mkdir dir
+touch foo dir/bar
+hg -v addremove
+hg -v commit -m "add 1" -d "0 0"
+cd dir/
+touch ../foo_2 bar_2
+hg -v addremove
+hg -v commit -m "add 2" -d "0 0"
new file mode 100644
--- /dev/null
+++ b/tests/test-addremove.out
@@ -0,0 +1,8 @@
+adding dir/bar
+adding foo
+dir/bar
+foo
+adding dir/bar_2
+adding foo_2
+dir/bar_2
+foo_2