Fix test for annotation library