fix bin tests on windows