tests for timeouts