XML element tests in place