Fixed some tests for AppVeyor