[tests] Bugfix to testThumbnailer