Chinese search engine Baidu has said it has tested its autonomous driving technology in a BMW 3 GT on Beijing roads.