verifyImgHasSource() method changed