CMS-3508 Fix broken tests in windows