fix : path expand

to assure the path will always be expanded also in the test.