Add test to ensure that timeouts are scheduled