test _expandPath