runtest: Test with per-context error handlers Only set the global error handler where needed. Don't use xmlGenericError.