NEXUS-5832: Extended UT with "empty XML file" case

No code change aside in UT. Validation performs well,
(empty XML file passes with "laxed" validation, fails
with "strict").

Default is lax=true.