Add testcase for parsing annotations.