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