tests for trip