tests working for timeout