Update and annotate tests for Windows.

Note our favorite compiler bug workaround.
Change written code so it clearly shows the execution order; was having
different results on MSVC and Clang. Now it matches.