added some  api server side test