[doing-183]Added xface tests for contacts plugin
[doing-183][fixed bug:5389]Fixed the crash bug that happen when choose a contact without options.