Fix unit test

Unit test now does correct comparison between the closest segment "event" (based on timestamp) and the expected transit parameters from the model.  Note that in both test_bls_pulse and test_bls_pulse_vec some transit events are failing due to timestamp and/or durations not being close enough to expected values.