[FEATURE] Caching all exceptions in tests.