Fix test for wine environment