Use Errorfs to fail the tests.
Caches should return an error instead of invoking a handler.