Improve error when prelude fails in tests.