fix syntax in test scripts on Windows