CRM-11320 fix error in test