finish all test for api calls