While China was ranked 39th out of 72 countries, compared to Hong Kong's 30th place in the worldwide rankings, the Chinese financial capital Shanghai logged better test scores than Hong Kong, a special administrative region of China and regional financial hub.