[test] Added test for timeout generation in the client.