Update API tests