Added LibXml.parseInputStream and 2 testcases