testing api calls