fix Contact.xml
use spy in PinyinServiceMockTest.java