added integration test for invpat two xml file.