Adds a mock test to ensure 408 errors are handled properly in swift.
This is more likely to happen in swift calls.