Flying car from California-based company given green light for test flights