test content of errors, not just length