Event and Timeout tests for select