Fix testing on Windows