Don't use sys.executable for non-windows tests and test fixes.