fixed Windows bug and ran win32 tests