Add test code for xpush-client