use .cmd hack-around to make test work on windows, nonwindows