Make "inspect type at range" test work in Windows
Work around race condition in tests

Added a "non-working test" that documents the problem. Don't
know how to fix it yet.