BMW approved to test automated vehicles in China