migrate test deprecation api to serverd