Latest attempt.
Add tests for failures.