tests for parsing nested annotations