mf/tests: Fix test failures in Windows.

The last commit in particular fixes the crashes in Windows.

Merge request reports

Loading