Fix Windows tests