Also, we need a test simulating a failure.