fixing widows paths and added test for it