Tests for Trip_Sort Api