Add expandPath, expand path including "~"
Add expandPath test