Integration test added.
There are cases where the number of statement is not correct, like this one:
if(xml.nodeKind() != XMLUtil.ELEMENT) { return false; }
3 is returned where 2 is expected.
Fixed, integration test updated.
Manually tested!
Integration test added.