Fixed newly broken API test