8077931: Develop tests for XML Catalog APIReviewed-by: joehw, lanceaContributed-by: sha.jiang@oracle.com