GM to begin testing autonomous vehicles in N.Y.