Fix AppVeyor tests