Test and fix lots of bugs in appvyor.yml