[tests] Add unit test for use of thumbnailer