fixed api test