Unit Test API integration