write spec to test get_arrival_times class method