add an unit test for weixin API