Fix test deployment

I'm using this PR to test appveyor.
Locally on my machine this fix works fine.