MDL-51832 tests: Fix failing code manager unit tests on Windows