California will allow Cruise to give rides in driverless test