Ignore XML declaration when comparing test result