test: make realpath tests case-insensitive on win32

Just ran in to this on Windows when running manually.

`process.cwd()`, which is used in lots of the tests, may return a different value than what realpath will return even though they are the same path when compared case-insensitive.