FIx #Issue257b - Modified TripRequest task and added testing of the core functions.