ISPN-2797 Fix broken test after the error message was changed