fix running test api server