See my comment above for testing an error method.