Fix linux & windows tests compatibility