Fixed command not found error during tests on windows

Added missing cmdSuffix in tests. Previously it was used only in the actual code. This fixes quite a number of tests on Windows.