[#1251] Fix ckanext.textpreview tests