Appveyor

This adds cross platform testing and fixes the tests