Fixes test so it runs in Windows