Word Validation Error Handling Test

Test OpenAI 500 Error Handling

This test simulates a 500 Internal Server Error from the OpenAI API and verifies that the code handles it gracefully.

Test Dictionary API 404 Response Handling

This test simulates a 404 Not Found response from the Dictionary API and verifies that it's handled as an expected response rather than an error.

Test results will appear here...