on Windows Dir.pwd returns a path like "c:/some/dir", and the tests mainly cares about the suffix of the path so accepting an optional drive letter at the beginning should be ok.
by using Ruby helper scripts instead fo relying on the existence of Unix commands
should work both in normal mode and with -jN