Added AnnotationCommandFactory test