Make tests compatible on windows