Fix Locations tests which are broken on Windows