API integration tests