-pick -thread 5 > $actual_out 2> $actual_err
-mv 5.old `mhpath 5`
-diff -u $expected_err $actual_err
-diff -u $expected_out $actual_out
+anno -component 'References' -text '<testid>' 6 -nodate -append
+runandcheck 'pick -thread 5' <<!
+5
+6
+!
+runandcheck 'pick -thread 6' <<!
+5
+6
+!
+anno -delete -component 'References'
+anno -component 'References' -text '<testid>' 6 -nodate
+runandcheck 'pick -thread 6' <<!
+5
+6
+!