XML document tests removed and code formatting