Fix test so it works on various OS’s