fixing trip_matcher logic and adding limit for reports in testing