tests/tiny_ssim: check dimensions