Fixes to `tests_similarity` (now `tests_viewer_wrappers`)