modifies specs to test individual elements of image tags rather than whole