FEND-1133: fixed the unit test