Make tilde expansion work on Windows
fixed tests on Windows
Merge pull request #27 from gabriel-samfira/testing

Make tilde expansion work on Windows