add more tests for trip_events and add delay when sending keys