TODO s3: add test_tevent_loop - sandbox code for tevent