Escape illegal XML characters in testall.