Test trip to trip transfers

Added unit tests for trip-to-trip transfers in the static case.
Also fixed a bug with minimum transfer time transfers.