added basic test for pinyin widget