Revert some styling of thumbnails. Fix tests