Proper testing of the timeout feature