Fix the metamodel annotation tests
Issue #1272: Add a test