ignore test case that should be caught at compile-time, and fix lookup method to dynamically load the annotation class in question.