Fixed validation on AddAnnotationFieldCommand. Added testcases on JUnit
testcases for add annotaionfield.