fixes a path error for windows and fixes test cases; #16