More unit tests for trips

Added tests for all functions but not all of them pass