[FIX] Fixes the tests of the TimeoutInputStream.