Fix typos in tests.
Add some class and interface modifiers, their parsing. Add corresponding tests. First step of migrating the Annotated type class.