test for timeouts