add server test
complete server side