Bank of Shanghai, a commercial lender in the mainland’s wealthiest city, is planning a dual listing in Shanghai and Hong Kong. The deal will be an important test for investor appetite in China’s smaller banks, which often act like the finance arm of local governments and play an important role in the local economy.