Change in ovirt-engine[ovirt-engine-3.5]: core: remove duplicate code from tests in ImagesHandlerTest