testing with API calls