Added tests for calculate_gps_offsets function