Completed AntiSamy test minus the XML parser specific bits