Handle the case of unloaded original file (see #10347)
Review test for #10347
cleaning
Add an extra test.
Add extra test using pojo object.
Add extra test checking if original is loaded.

Check that the original file is loaded when
the exclude close is on.
remove  null check.
Forgot to save all changes.
Merge pull request #708 from jburel/annotations

Handle the case of unloaded original file (see #10347)