Tests for #377
Merge pull request #421 from loicrouchon/FunctionOrValueDeclaration-annotation-lookup

Tests for #377