finish make testExample and edit server code bug