fixed a test on windows
merged branch bamarni/windows-test (PR #7858)

This PR was merged into the master branch.

Discussion
----------

fixed a test on windows

Commits
-------

6f7e35e fixed a test on windows