tests for annotated classes