Test equality with XML containing whitespace