Added unit test for annotations.