Create a test exception
Exception createTestException([String message = 'Test exception']) { return Exception(message); }