ui_test_core: fix verifyImageMatchSnapshot with multiple images

The counter was not managed properly, it was never increased, so when
there was more than one assertion, they were all using the same
reference image.

Implement also the TODO that prevented to re-run a test.
2 jobs for fix/testXHTML_by_bt
in 0 seconds, using 0 compute credits, and was queued for 0 seconds