Adjust some API tests