Add a test that XML characters are being correctly escaped