Correct script error in API Integration Test