WIP: Test on Windows using wine; fix up testsuite