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.