Add htmlspecialchars to raw output in tests.