some small .NET test fixes when coming back to Windows