add more test cases for XML Doc