Updated API testing