Fix a @Ignored test
We should not resolve class aliases when used as declaration references in annotations
Test for class aliases as declaration refs in annotations;