CRM-14062 update api tests