fixed 'img:uncached' test so that it does not include images without src attribute at all

'img[src!=""]' is not enough for some browsers, should also add the condition for src attribute existence.