adding spec for timeout