Fixed JUnit testcase on addannotationfield command since someone had
changed it which made tests fail and didn't update them.