Added tests for when the API returns a 500, or times out