Add a test for read timeout.