Fix failing filepreview test