Apple gets the green light to test self-driving cars in Calif.