Test case for annotation class