FEND-1133:fixing the unit test