Adding tests to ensure notification of xml errors.