Add testcases of Code2Xml.