add test cases for annotation module