adding timeout testing