fix testing procedure on windows