unit test to cover image pull failing