BMW gains test license for L3 autonomous driving in Shanghai