Error handling in test not capturing specific error message - Effect Community